<div class="content" style="margin-top:45px;">
    <div class="estate_show_img">{:getOneAd(15)}</div>
    <div class="div_box02">
        <div class="h_s_n1 overflow_h">
            <span class="h_s_n1_img"><a href="{:U('Estate/pic',array('id'=>$estate['id'],'cate'=>$key))}"><img src="{$estate['logo'] ? $estate['logo'] : $estate['img'] }"></a></span>
            <dl>
                <dt>{$estate.title}</dt>
                <dd class="ico02">建筑年代:{$estate.years}</dd>
                <dd class="ico03">{$estate.address}</dd>
                <!--dd style="padding-left:0"><span class="h_s_n1_span ico04">地图</span><span class="h_s_n1_span ico05">分享</span></dd-->
            </dl>
        </div>
    </div>

    <div class="div_box03">
        <div class="tab_title01 overflow_h">
            <ul>
                <li><a <php>if($action=='detail'){</php> class="selected" <php>}</php> href="{:U('Estate/detail',array('id'=>$estate['id']))}">小区概况</a></li>
                <li><a <php>if($action=='used'){</php> class="selected" <php>}</php>  href="{:U('Estate/used',array('id'=>$estate['id']))}">二手房({$estate.sell_count})</a></li>
                <li><a <php>if($action=='rental'){</php> class="selected" <php>}</php> href="{:U('Estate/rental',array('id'=>$estate['id']))}">出租房({$estate.lease_count})</a></li>
                <li><a <php>if($action=='pic'){</php> class="selected" <php>}</php> href="{:U('Estate/pic',array('id'=>$estate['id']))}">小区图片</a></li>
            </ul>
        </div>